package com.shen.service;

import com.shen.dao.UserDao;
import lombok.Data;

@Data
public class UserServiceImpl implements UserService{
    private UserDao userDao;
    private String str;

    public  UserServiceImpl(String str){
        this.str = str;
    }

    @Override
    public void printDaoInfo() {
        userDao.printInfo();
        System.out.println(str);
    }
}
